]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Do not show the summary when removing a source
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 29 Sep 2010 20:53:04 +0000 (22:53 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 29 Sep 2010 21:11:24 +0000 (23:11 +0200)
Having the summary pop up automatically after a source icon has been
removed is pretty useless ("Hey, there was something interesting going
on, but you missed it and it's gone now, kthxbye").

https://bugzilla.gnome.org/show_bug.cgi?id=630939

js/ui/messageTray.js

index d653eabb6843ede7f386565f683546821c1896be..7bdf2f45fbecc144cca21df858ba21de5a0c5e0b 100644 (file)
@@ -1006,10 +1006,6 @@ MessageTray.prototype = {
         this._notificationQueue = newNotificationQueue;
 
         this._summary.remove_actor(this._summaryItems[index].actor);
-        if (this._summary.get_children().length > 0)
-            this._summaryNeedsToBeShown = true;
-        else
-            this._summaryNeedsToBeShown = false;
 
         this._summaryItems.splice(index, 1);
         if (this._longestSummaryItem.source == source) {